package lanqiao;



import javax.xml.crypto.Data;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class commemoration {
    public static void main(String[] args) throws ParseException {
       process();
    }
    public static void process() throws ParseException {
//        int other = 0;
//        for (int i = year+1; i <=2020 ; i++) {
//            if (year%4==0 && year%100!=0 || year%400==0){
//                other++;
//            }
//        }
//        for (int j = moth; j <=12; j++) {
//            if (j==1 || j==3 ||j==5 ||j==7 ||j==8 ||j==10 ||j==12){
//                other++;
//            }
//        }
//        int days = (2020-1921-1)*365 + (moth-1+6)*30 +(30-day+1)+1;
//        int hours = (24-hour)+12+days*24*60;
//        System.out.println(hours);
        SimpleDateFormat s= new SimpleDateFormat("YYYY-MM-dd");
        Date data1 = s.parse("1921-7-23");
        Date data2 = s.parse("2020-7-1");
        int a=(int)((data2.getTime()-data1.getTime())/(1000*60));
        System.out.println(a);
    }
}
